<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>wechat demo</title>
    <script src="jquery-1.11.3.js"></script>
    
    
<script type="text/javascript">



		var urlRoad = 'http://192.168.31.104:8080/web/users/cardList';
			
		function getPdfImg () {
			
			
       			var headData = {};
			
				$.ajax({
				    type : "post",
				    url : urlRoad,
				    data: headData,
				    success : function(data){
						console.log(data);
						if(data.success) {
							var imgs = data.data;
							for(var i=0; i<imgs.length; ++i) {
								$("#imgs").append("<p>"+imgs[i].user_id+"</p>");
								$("#imgs").append("<iframe width=800px height=600px src='"+imgs[i].cart_image+"'></iframe>");
							}
						} else {
							alert(data.msg);
						}

					},
				    error:function(data){
				   
				        console.log("连接失败！");
				    }
				});
    	

			}
			
			getPdfImg();
			
			
</script>
   
</head>
<body>

<div id="imgs">
	
</div>

</body>
</html>
